package com.bsoft.gol.hcs.clinical.bean.req;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.xml.bind.annotation.XmlRootElement;
import java.util.Date;

@XmlRootElement(name = "Patient")
public class PatientVo {
    private String MPI;
    private String SourcePatientId;
    private String SourcePatientIdType;
    private String VisitOrganization;
    private String IdCard;
    private String IdCardCode;
    private String Name;
    private String Sex;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh_CN", timezone = "GMT+8")
    private Date BirthDate;
    private String PatientPhone;
    private String HealthInsuranceCardId;

    public PatientVo() {
    }

    public String getMPI() {
        return MPI;
    }

    public void setMPI(String MPI) {
        this.MPI = MPI;
    }

    public String getSourcePatientId() {
        return SourcePatientId;
    }

    public void setSourcePatientId(String sourcePatientId) {
        SourcePatientId = sourcePatientId;
    }

    public String getSourcePatientIdType() {
        return SourcePatientIdType;
    }

    public void setSourcePatientIdType(String sourcePatientIdType) {
        SourcePatientIdType = sourcePatientIdType;
    }

    public String getVisitOrganization() {
        return VisitOrganization;
    }

    public void setVisitOrganization(String visitOrganization) {
        VisitOrganization = visitOrganization;
    }

    public String getIdCard() {
        return IdCard;
    }

    public void setIdCard(String idCard) {
        IdCard = idCard;
    }

    public String getIdCardCode() {
        return IdCardCode;
    }

    public void setIdCardCode(String idCardCode) {
        IdCardCode = idCardCode;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getSex() {
        return Sex;
    }

    public void setSex(String sex) {
        Sex = sex;
    }

    public Date getBirthDate() {
        return BirthDate;
    }

    public void setBirthDate(Date birthDate) {
        BirthDate = birthDate;
    }

    public String getPatientPhone() {
        return PatientPhone;
    }

    public void setPatientPhone(String patientPhone) {
        PatientPhone = patientPhone;
    }

    public String getHealthInsuranceCardId() {
        return HealthInsuranceCardId;
    }

    public void setHealthInsuranceCardId(String healthInsuranceCardId) {
        HealthInsuranceCardId = healthInsuranceCardId;
    }

    @Override
    public String toString() {
        return "PatientVo{" +
                "MPI='" + MPI + '\'' +
                ", SourcePatientId='" + SourcePatientId + '\'' +
                ", SourcePatientIdType='" + SourcePatientIdType + '\'' +
                ", VisitOrganization='" + VisitOrganization + '\'' +
                ", IdCard='" + IdCard + '\'' +
                ", IdCardCode='" + IdCardCode + '\'' +
                ", Name='" + Name + '\'' +
                ", Sex='" + Sex + '\'' +
                ", BirthDate=" + BirthDate +
                ", PatientPhone='" + PatientPhone + '\'' +
                ", HealthInsuranceCardId='" + HealthInsuranceCardId + '\'' +
                '}';
    }
}